package com.koron.order.common.mapper;

import com.koron.order.common.bean.po.OrderExecutePart;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (OrderExecutePart)表数据库访问层
 *
 * @author zhouj
 * @since 2021-09-03 16:32:15
 */
public interface OrderExecutePartMapper {

    OrderExecutePart queryById(String id);

    List<OrderExecutePart> queryList(OrderExecutePart orderExecutePart);

    int insert(OrderExecutePart orderExecutePart);

    int update(OrderExecutePart orderExecutePart);

    int deleteById(String id);

    int insertBatch(@Param("list") List<OrderExecutePart> orderExecutePartList);

    int deleteByOrderId(String orderId);

    int deleteByOrderExecuteId(String executeId);

    int deleteOrderExecutePart(@Param("orderId")String orderId, @Param("executeId")String executeId);
}